/**
 * Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
 * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. All rights reserved.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://opensource.org/licenses/MIT
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations under the License.
 */

@import '../../../../css/variable.css';
@import '../../../../css/mixins/clearfix';

.lb-panel {
    @mixin clearfix;

    .lb-chart-box {
        float: left;
        width: 50%;
        height: 345px;
        background: #fff;
        box-shadow: 0 0 8px rgba(0, 0, 0, .05);
        border: 1px solid $borderWeightColor;
        border-radius: 2px;

        .info {
            font-size: 14px;
            padding: 20px 30px;
            @mixin clearfix;

            .left {
                font-weight: 700;
                float: left;
            }

            .right {
                float: right;
            }
        }
    }
}

.echarts {
    width: 100%;
    height: 270px;
}

.biz-dot {
    margin-right: 5px;
}

.bk-button.is-icon.bk-button-minier {
    width: 16px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 12px;
    padding: 0;
    margin-left: 3px;

    .bk-icon {
        top: -2px;
        left: -1px;
        transform: scale(0.7);
    }
}

.biz-range-select {
    margin-left: 65px;
}

.biz-app-instance-taskgroup-list {
    margin-bottom: 0;
}

.biz-rule-table.has-table-hover>tbody>tr:hover {
    background-color: $bgHoverColor;
}

.biz-metadata-group {
    .biz-metadata-box .data-item {
        padding: 25px;

        .value {
            white-space: normal;
        }
    }

    .top {
        height: 100px;
    }

    .bottom {
        height: 143px;
    }
}

.key-item {
    display: inline-block;
    vertical-align: middle;
    margin-left: 30px;

    .key-label,
    .value-label {
        font-size: 13px;
        line-height: 20px;
    }

    .key-label {
        margin-bottom: 4px;
    }
}

@media screen and (max-width: $mediaWidth) {
    .lb-panel .lb-chart-box {
        height: 300px;
    }

    .echarts {
        width: 100%;
        height: 200px;
    }

    .biz-metadata-group .biz-metadata-box .data-item {
        padding: 15px;
    }

    .biz-metadata-group {
        .top {
            height: 80px;
        }

        .bottom {
            height: 119px;
        }
    }
}
